﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DFGK_WMS.Context.Migrations
{
    public partial class 迁移字段2 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "StocktakingEndStatus",
                table: "TStocktakingOrderDetails",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<decimal>(
                name: "StocktakingQty",
                table: "TStocktakingOrderDetails",
                type: "decimal(18,2)",
                nullable: false,
                defaultValue: 0m);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "StocktakingEndStatus",
                table: "TStocktakingOrderDetails");

            migrationBuilder.DropColumn(
                name: "StocktakingQty",
                table: "TStocktakingOrderDetails");
        }
    }
}
